import request from '@/utils/service'
export default {
    addFollower(fId, access) {
        return request({
            method: "post",
            url: `/user/follower`,
            params: {
                fId,
            },
            headers: {
                Authorization: "token:" + access, //指定消息格式
            },
        })
    },
    reduceFollower(fId, access) {
        return request({
            method: "put",
            url: `/user/follower`,
            params: {
                fId,
            },
            headers: {
                Authorization: "token:" + access, //指定消息格式
            },
        })
    },
    flagFollower(fId, access) {
        return request({
            method: "get",
            url: `/user/follower`,
            params: {
                fId,
            },
            headers: {
                Authorization: "token:" + access, //指定消息格式
            },
        })
    },
}